package com.sghd.pojo.fight.game;

/**
 * @author frank
 * @date 2018-10-18 16:49
 * @desc
 **/
public class GridVo {
    private ChessVo chess;

    private int state;

    public static GridVo valueOf(int state, ChessVo chess) {
        GridVo gridVo = new GridVo();
        gridVo.state = state;
        gridVo.chess = chess;
        return gridVo;
    }

    public ChessVo getChess() {
        return chess;
    }

    public void setChess(ChessVo chess) {
        this.chess = chess;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
